//
//  SFSwipeTableView.h
//  Test
//
//  Created by xueshan1 on 2019/7/17.
//  Copyright © 2019 xueshan1. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SFSwipeHeaderView.h"

@class SFSwipeTableView;
@protocol SFSwipeTableViewDelegate <NSObject>

- (void)swipeTableViewCurrentItemViewChanged:(UITableView *_Nullable)currentItemView currentIndex:(NSInteger)currentIndex;

@end
NS_ASSUME_NONNULL_BEGIN

@interface SFSwipeTableView : UIView

@property(nonatomic,weak)id delegate;
@property(nonatomic,strong)NSArray<UITableView *> *itemViews;
@property(nonatomic,strong)UIView *headerView;
@property(nonatomic,strong)UIView *segmentBarView;

- (void)scrollToItemViewAtIndex:(NSInteger)index animated:(BOOL)animated;

@end

NS_ASSUME_NONNULL_END
